package datastore.api;

import java.util.List;

public interface DatastoreAPI {

    public void init(String appName);

    public List<?> get(Reference... keys);

    public List<?> put(Entity... entities);

    public void delete(Entity... entities);

    public List<?> fetch(Query query, int limit, int offset);

    public Iterable<?> iterable(Query query, int limit, int offset);

    public String getAppName();

}